package satellite.nav;

import satellite.nav.post.ObsEpoch;
import satellite.nav.post.ReadObsData;
import satellite.nav.utils.GpsTime;

import java.util.List;
import java.util.Map;
import java.util.Date;
/**
 * @Program : satellite-nav
 * @ClassName : App
 * @Description : 主函数测试类
 * @Date: 2021-12-15 14:33
 * @Version : 1.0
 */
public class App {

    public static void rinexObsData(){

        String obsFilePath="C:\\Users\\Administrator\\Desktop\\test_single\\GNSS_MST_1.obs";

        ReadObsData readObsData= new ReadObsData(obsFilePath);

        Map<GpsTime, List<ObsEpoch>> obsEpochMap = readObsData.getObsEpochMap();
        System.out.println("历元数为： "+ obsEpochMap.size());

    }

    public static void main(String[] args) {
        rinexObsData();
        System.out.println(new Date());
    }

}
